/*
 * ========================================================
 * Copyright(c) 2014 杭州偶尔科技-版权所有
 * ========================================================
 * 本软件由杭州偶尔科技所有, 未经书面许可, 任何单位和个人不得以
 * 任何形式复制代码的部分或全部, 并以任何形式传播。
 * 公司网址
 * 
 * 			http://www.kkkd.com/
 * 
 * ========================================================
 */
package com.ouertech.android.agm.lib.ui.base;

/**
 * @author : Zhenshui.Xia
 * @date : 2015/7/17.
 * @desc : 界面构造选项
 */
public class UIOptions {
    //=================常用构造元素===================
    //展示SystemBar（StutusBar & NavigationBar）UI元素,
    //可以设置通过setSystemUiVisibility控制SystemBar
    public static final long UI_OPTIONS_SYSTEMBAR = 0x1;

    //自定义AppBar
    public static final long UI_OPTIONS_APPBAR_CUSTIOM = UI_OPTIONS_SYSTEMBAR<<4;

    //拥有ToolBar的AppBar
    public static final long UI_OPTIONS_APPBAR_TOOLBAR = UI_OPTIONS_SYSTEMBAR<<5;

    //拥有可折叠的ToolBar的AppBar
    public static final long UI_OPTIONS_APPBAR_COLLAPSED_TOOLBAR = UI_OPTIONS_SYSTEMBAR<<6;

    //拥有Tab的AppBar
    public static final long UI_OPTIONS_APPBAR_TABS = UI_OPTIONS_SYSTEMBAR<<7;


    //自定义内容
    public static final long UI_OPTIONS_CONTENT_CUSTOM = UI_OPTIONS_SYSTEMBAR<<16;

    //拥有ScrollView的内容
    public static final long UI_OPTIONS_CONTENT_SCROLL = UI_OPTIONS_SYSTEMBAR<<17;

    //拥有List的内容
    public static final long UI_OPTIONS_CONTENT_LIST = UI_OPTIONS_SYSTEMBAR<<18;

    //拥有Grid的内容
    public static final long UI_OPTIONS_CONTENT_GRID = UI_OPTIONS_SYSTEMBAR<<19;

    //拥有StaggeredGrid(瀑布流)的内容
    public static final long UI_OPTIONS_CONTENT_STAGGERED = UI_OPTIONS_SYSTEMBAR<<20;

    //底部自定义导航栏（非系统虚拟键的导航栏）
    public static final long UI_OPTIONS_NAVBAR_CUSTOM = UI_OPTIONS_SYSTEMBAR<<40;

    //底部Tab导航栏
    public static final long UI_OPTIONS_NAVBAR_TABS = UI_OPTIONS_SYSTEMBAR<<41;

    //底部drawer导航栏
    public static final long UI_OPTIONS_DRAWER = UI_OPTIONS_SYSTEMBAR<<48;



    //=================常用构造界面===================
    //全屏(无系统栏）,最好通过theme来设置，体验更好
    public static final long UI_OPTIONS_SCREEN_FULL = UI_OPTIONS_CONTENT_CUSTOM;

    //拥有系统栏的界面
    public static final long UI_OPTIONS_SCREEN_SYSTEM = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_CONTENT_CUSTOM;

    //普通带标题栏的界面
    public static final long UI_OPTIONS_SCREEN_TOP = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_APPBAR_TOOLBAR
            | UI_OPTIONS_CONTENT_CUSTOM;

    //普通带Tab栏的界面
    public static final long UI_OPTIONS_SCREEN_TABS = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_APPBAR_TABS;

    //普通带标题栏&Tab栏的界面
    public static final long UI_OPTIONS_SCREEN_TOP_TABS = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_APPBAR_TOOLBAR
            | UI_OPTIONS_APPBAR_TABS;

    //普通list界面
    public static final long UI_OPTIONS_SCREEN_LIST = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_APPBAR_TOOLBAR
            | UI_OPTIONS_CONTENT_LIST;

    //普通grid界面
    public static final long UI_OPTIONS_SCREEN_GRID = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_APPBAR_TOOLBAR
            | UI_OPTIONS_CONTENT_GRID;

    //普通staggered界面
    public static final long UI_OPTIONS_SCREEN_STAGGERED = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_APPBAR_TOOLBAR
            | UI_OPTIONS_CONTENT_STAGGERED;

    //普通scroll界面
    public static final long UI_OPTIONS_SCREEN_SCROLL = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_APPBAR_TOOLBAR
            | UI_OPTIONS_CONTENT_SCROLL;

    //普通带底部导航栏的界面
    public static final long UI_OPTIONS_SCREEN_NAV_TABS = UI_OPTIONS_SYSTEMBAR
            | UI_OPTIONS_NAVBAR_TABS;



    //默认构造界面
    public static final long UI_OPTIONS_SCREEN_DEFAULT = UI_OPTIONS_SCREEN_TOP;
}
